import http from "../utils/http/service";

// 获取项目统计数据
export const postProjectNum = (data): any => {
  return http.post("/snow-admin/report/operate/project", data);
};

// 获取各模块业务数据
export const postProjectModule = (data): any => {
  return http.post("/snow-admin/report/operate/module", data);
};

// 获取项目维度验收单据
export const postProjectBill = (data): any => {
  return http.post("/snow-admin/report/operate/projectbill", data);
};

// 获取上周用户活跃数据
export const postProjectActive = (data): any => {
  return http.post("/snow-admin/report/operate/active", data);
};

// 获取验收单据数据
export const postProjectAcceptbill = (data): any => {
  return http.post("/snow-admin/report/operate/acceptbill", data);
};

// 获取活跃数据月度统计
export const postProjectActiveNum = (data): any => {
  return http.post("/snow-admin/report/operate/active/number", data);
};

// 标段看板数据
// A类土建面板-顶部的单体数量、文档数量、总提单（率）、随手拍 报表接口
export const reportTop = (data): any => {
  return http.post("/snow-admin/projectSection/report/top", data);
};

// A类土建面板-单体提单量概览 报表接口
export const reportMon = (data): any => {
  return http.post("/snow-admin/projectSection/report/mon", data);
};

// A类土建面板-各类验收检查提单统计 报表接口
export const reportModule = (data): any => {
  return http.post("/snow-admin/projectSection/report/acceptance/module", data);
};

// A类土建面板-单体各验收类型提单概览 报表接口
export const reportModuleMon = (data): any => {
  return http.post("/snow-admin/projectSection/report/module/mon", data);
};

// A类土建面板-验收单据状态统计 报表接口
export const reportStatus = (data): any => {
  return http.post("/snow-admin/projectSection/report/acceptance/status", data);
};

// A类土建面板-单体下拉框
export const monDictList = (data): any => {
  return http.post("/snow-admin/proSecMonomer/monDictList", data);
};

// A类土建面板-验收单据状态统计-实际流程单据 报表接口
export const acceptanceFlowStatus = (data): any => {
  return http.post(
    "/snow-admin/projectSection/report/acceptance/flowStatus",
    data
  );
};

// A类土建面板-查询所有滞留单据列表 报表接口
export const billList = (data): any => {
  return http.post(
    "/snow-admin/projectSection/report/retention/billList",
    data
  );
};

// 查询所有单体近期现场实况列表
export const picMonList = (data): any => {
  return http.post("/snow-admin/proSecMonomer/picture/picMonList", data);
};

// A类【设备】面板-顶部标段成员、阶段、事项、未启动、处理中、已完成 报表接口
export const deviceTop = (data): any => {
  return http.post("/snow-admin/projectSection/report/device/top", data);
};

// A类【设备】面板-各阶段事项进度 报表接口
export const deviceProcess = (data): any => {
  return http.post(
    "/snow-admin/projectSection/report/device/stage/process",
    data
  );
};

// A类土建面板-单据催办
export const billUrging = (data): any => {
  return http.post("/snow-admin/flow/common/bill/urging", data);
};
